home *** CD-ROM | disk | FTP | other *** search
/ Dragon Blade - Wrath of Fire (USA) (Press Kit) / Dragon Blade - Wrath of Fire (USA) (Press Kit).bin / pc / main.swf / scripts / DefineSprite_140 / frame_1 / DoAction.as
Encoding:
Text File  |  2007-01-01  |  480 b   |  19 lines

  1. overSound = new Sound(this);
  2. overSound.attachSound("btnOver");
  3. hit2_mc.onRollOver = function()
  4. {
  5.    this.colorTo(16777215,0,"easeOutSine");
  6.    overSound.start();
  7. };
  8. hit2_mc.onRollOut = function()
  9. {
  10.    this.colorTo(null,0.4,"easeOutSine");
  11. };
  12. hit2_mc.onRelease = function()
  13. {
  14.    image_num = _root.downloadCount_var;
  15.    count_num = _root.nodeCount_var;
  16.    var _loc2_ = _root.content_xml.firstChild.childNodes[count_num].attributes.allArt;
  17.    getURL(_loc2_,"");
  18. };
  19.